<template>
  <div class="desktop-bg">
    <div class="login-bg"></div>
    <div class="login-content">
      <div class="login-container">
        <div class="title-container">
          <div class="herder-span">
            <SystemTitle :notJump="true" />
          </div>
          <div class="info-content">
            <ul>
              <li>Vue3 + Element Plus + Pinia + Vite + Javascript</li>
              <li>MIT 协议开源</li>
              <li>集成前台、后台、登录页等多个板块</li>
              <li>主题/布局切换、系统自定义配色、水印、tab页签</li>
              <li><strong>项目名称：</strong>QianfanAdmin</li>
            </ul>
          </div>
          <div class="footer-span">QianfanAdmin 中后台系统开源框架 MIT</div>
        </div>
        <div class="form-container"><slot name="default" /></div>
      </div>
    </div>
  </div>
</template>
<script setup name="DesktopLogin">
import SystemTitle from "@/Layout/Components/SystemTitle.vue";
</script>
<style lang="scss" scoped>
.desktop-bg {
  width: 100%;
  height: 100%;
  position: relative;
  .login-bg {
    background-image: url("../../Assets/bg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    width: 100%;
    height: 100%;
    position: absolute;
  }
  .login-content {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    width: 100%;
    height: 100%;
    /* 毛玻璃效果 */
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px); /* 兼容 Safari */

    .login-container {
      background-color: #00265f;
      color: #93e0ff;
      border-radius: 18px;
      box-shadow: 0 10px 40px -10px #ffffff50;
      width: 800px;
      height: 500px;
      display: flex;
      justify-content: space-around;
      align-items: center;
      overflow: hidden;
      .title-container {
        flex: 1;
        height: 100%;
        position: relative;
        .herder-span {
          position: absolute;
          left: 18px;
        }
        .info-content {
          height: 100%;
          display: flex;
          justify-content: center;
          align-items: center;
          padding: 0 30px;
          box-sizing: border-box;
          ul {
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: flex-start;
            flex-direction: column;
            li {
              text-align: left;
              font-size: 0.8rem;
              color: #93e0ff;
              text-shadow: 2px 2px 4px #93e0ff50;
              margin: 10px 0;
            }
          }
        }
        .footer-span {
          position: absolute;
          bottom: 18px;
          left: 18px;
          color: #93e0ff;
          text-shadow: 2px 2px 4px #93e0ff50;
          font-size: 0.8rem;
        }
      }
      .form-container {
        width: 45%;
        height: 100%;
      }
    }
  }
}
</style>
